Sign In via Custom Identity Provider


hey, i've got html article use new setauthtoken api provide custom authentication user, , can call authtoken authorised on entitlement login user article.

 

however, i'm having issue setting custom identity provider required api work. i've configured project settings use custom idp, , created page check credentials , authtoken back. went user selects sign in account model web view pops idp login page. once user logs in redirect pass authtoken app? can see https://es.publish.adobe.com/oauth2 url in case of outh, don't see custom idp... has been setup yet?

 

thanks in advance,

alex

hi alex,

 

in generic identity provider set up, authentication url should page created check credentials. when page launched viewer, there several query parameters passed along it. includes:

 

redirecturi: generic authentication callback uri.

projectid: application's project's id.

appid: id of viewer application.

appversion: version of viewer application.

uuid: identifier device.

 

page should parse redirecturi out of url parameters, , redirect when authentication complete. when redirecting redirecturi, can include following information application:

 

authtoken: authtoken of user after successful login.

expiresin: optional duration in seconds before authtoken expires.

error: error message after login failure. either error or authtoken must specified not both.

 

  hope helps.

 

thanks,

christine



More discussions in Adobe Experience Manager Mobile


adobe

Comments

Popular posts from this blog

Illustrator CS6 Ocurrío un error E/S en el archivo.

Why is os_ViewContainer running?

Animate - problem with duplicating scripts after loop