Learning Center/OneLogin Documentation/Tips & Tricks

OpenID Delegation

Christian Pedersen
posted this on April 05, 2010 10:57 am

By default, every OneLogin user has an OpenID URL using the format:

    https://app.onelogin.com/openid/account_name/username

But you can customize this URL completely using OpenID Delegation. If you have your own website, any page on that website can be used as your OpenID. 

If the URL for your website is http://mycompany.com and a one of the pages is named 'john', you can use http://mycompany/john as your OpenID with OneLogin, simply by modifying and adding these four lines to the HEAD-section of your page:

<link rel="openid2.provider" href="https://app.onelogin.com/server"; /> 
<link rel="openid2.local_id" href="[openid url]"; />   
<link rel="openid.server" href="https://app.onelogin.com/server"; />  
<link rel="openid.delegate" href="[openid url]"; />

Your OneLogin OpenID URL can be found by clicking settings