oauth - How to get a jwt token from url in header? Using OpenAM and Oauth2 -
i configured openam oauth2 authorization provider , setup oauth2 client on same instance via " oauth 2.0/openid connect client". scope choose "openid" , response_type "id_token" authorize url looks following: http://fqdn:port/openamtest/oauth2/authorize?client_id=jwt-bearer-client&response_type=id_token&scope=openid
now when enter url openam login screen, enter credentials , asked if want allow application request private infos. when press "allow" jwt token gets generated. see in url (id_token=eyaidhlw...) want jwt token in http header can later on in application validate reading request. know how possible?
thank in advance
after openam authenticate user makes redirect application token url parameter. i'm afraid cannot instruct browser send token http header redirect. limitation in browsers.
Comments
Post a Comment