Merge lp:~andrew-w-deane/usso/LoginURL into lp:usso

Proposed by Andrew W. Deane
Status: Merged
Approved by: Vincenzo Di Somma
Approved revision: 33
Merged at revision: 33
Proposed branch: lp:~andrew-w-deane/usso/LoginURL
Merge into: lp:usso
Diff against target: 15 lines (+5/-0)
1 file modified
usso.go (+5/-0)
To merge this branch: bzr merge lp:~andrew-w-deane/usso/LoginURL
Reviewer Review Type Date Requested Status
Vincenzo Di Somma (community) Approve
Domas Monkus Approve
Review via email:

Description of the change

Added the LoginURL() function to give access to the base URL for openid login

To post a comment you must log in.
Revision history for this message
Domas Monkus (tasdomas) :
review: Approve
Revision history for this message
Vincenzo Di Somma (vds) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'usso.go'
2--- usso.go 2014-01-22 16:58:23 +0000
3+++ usso.go 2014-02-11 11:21:36 +0000
4@@ -33,6 +33,11 @@
5 return server.baseUrl + "/api/v2/tokens/oauth/"
6 }
8+// LoginURL returns the url for Openid login
9+func (server UbuntuSSOServer) LoginURL() string {
10+ return server.baseUrl
13 // ProductionUbuntuSSOServer represents the production Ubuntu SSO server
14 // located at
15 var ProductionUbuntuSSOServer = UbuntuSSOServer{"", ""}


People subscribed via source and target branches