Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

announcement: Profile UI Release #327

Open
greenpau opened this issue Mar 23, 2024 · 1 comment
Open

announcement: Profile UI Release #327

greenpau opened this issue Mar 23, 2024 · 1 comment
Assignees

Comments

@greenpau
Copy link
Owner

greenpau commented Mar 23, 2024

Released Profile UI 1.0.0

Please download the attached files and unpack them to file_server directory. In my case it is /dev/go/src/github.com/authcrunch/authcrunch-ui/frontend/profile/build/ and in your case it will be somet

The Caddyfile configuration follows:

{


	security {
		...

		authorization policy portal_policy {
			set auth url https://auth.myfiosgateway.com:8443/auth/
			crypto key sign-verify {env.JWT_SHARED_KEY}
			acl rule {
				comment allow admins
				match role authp/admin
				allow stop log info
			}
			acl rule {
				comment allow users
				match role authp/user
				allow stop log info
			}
			acl rule {
				comment default deny
				match any
				deny stop log warn
			}
		}

		...
	}
}



auth.myfiosgateway.com {
	tls {$HOME}/.local/tls/myfiosgateway/server.crt {$HOME}/.local/tls/myfiosgateway/server.key

	route /version* {
		respond "auth 1.0"
	}

	# Vite Build Files
	route /auth/profile* {
		authorize with portal_policy
		uri strip_prefix /auth/profile
		file_server {
			root {$HOME}/dev/go/src/github.com/authcrunch/authcrunch-ui/frontend/profile/build/
			pass_thru
		}
		rewrite * /index.html
		file_server {
			root {$HOME}/dev/go/src/github.com/authcrunch/authcrunch-ui/frontend/profile/build/
			pass_thru
		}
	}

	route /auth* {
		authenticate with myportal
	}

	route / {
		redir https://{hostport}/auth/ 302
	}
}

Please provide your feedback via email. I will be uploading new versions of the Profile UI here. You should be able to track the versions in the UI itself.

image

Importantly, Profile UI is only available with local identity store at the moment. I am working on connecting OAuth user identities to local store, making the "local" store distributed, and making OAuth users being able to configure their profiles (e.g. API keys, MFA, etc.)

@greenpau greenpau added the ui label Mar 23, 2024
@greenpau greenpau self-assigned this Mar 23, 2024
@greenpau greenpau pinned this issue Mar 23, 2024
@greenpau greenpau changed the title feature: Profile UI Release announcement: Profile UI Release Mar 23, 2024
@greenpau
Copy link
Owner Author

Profile UI 1.0.0 Assets: profile-1.0.0.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant