irods-contrib / irods_auth_plugin_openid

Other
2 stars 2 forks source link

Change formating of session file to include token type metadata #15

Open theferrit32 opened 6 years ago

theferrit32 commented 6 years ago

This is needed to tell the plugin whether the session file is a sessionid or an actual access token.

Proposal: prefix value with act: or sid: to distinguish. If none provided, default to sid:.

This addition could also possibly pave the way for more easily adding a JWT/JWK authentication, in which case it could use the prefix jwt: