i have 'events' post type. have category called 'speakers' , has posts speakers. when creating event need select speakers each event through backend. need give interface admin select speakers event. i recommend using advancedcustomfields-plugin . can build "relationship" between post type 'events' , 'speakers'. way can choose 'speakers' on every 'event'. the plugin documented. see how works: http://www.advancedcustomfields.com/resources/relationship/
using xe7 rest client able authenticate , kind of information file list, account info, etc. how can upload , download files progress indication? uploading useful if there examples small file using /files_put (max file size 150mb) , bigger 1 using /chunked_upload dropbox api thank you! you should provide code have problem with. don't expect job you. to give @ least hint: you send put request using idhttp according documentation have mentioned. don't forget add header "authorization" login information rest client. idhttp.put('https://api-...', ffilestream, fresponsestream); this block main thread (ui) if want upload/download , show progress, have use separate thread - first create tthread, in "work" procedure run upload/download. now have handle progress. can in onwork event of idhttp component. pass status thread main thread. don't forget synchronize call correctly - can use idnotify this. google these basic stuff. ret...
the normal openidconnect server works like: you go a.com/secure-resource you 302 server your browser handles , sends identity server you login there it sends a.com via post you logged in on a.com , a.com/secure-resource on browser. however have scenario i'm trying solve need help. the user logged in on idserver the user logged in on a.com the user not logged in on b.com we need send ajax call web server b.com (from domain a.com ) b.com configured use openidconnect. but because request b.com via ajax, user cannot redirected idserver. (all in response 302 ) we can go ahead , handle 302 via ajax (i'm still not sure whether work, security-wise). but is there scenario in identityserver/openidconnect designed these situations? with identityserver in scenario setup server b.com use bearer token authentication, need use access token provided a.com in headers of ajax call $.ajax({ url: 'http://b.com', headers: { ...
Comments
Post a Comment